package model
{
	
	import manager.*;
	
	/**
	 * -- BattlePx --
	 * @desc	proxy for reinforcing skills
	 * @author	Aqua (built on 2011-11-09)
	 */
	public class BattlePx extends BasePx
	{
		//-----------------//
		//     Publics     //
		//-----------------//
		
		/**************************************************************************
		 * -- init --
		 * @desc		initialize proxy
		 *************************************************************************/
		public override function init():void
		{
			_userPx = ProxyMgr.instance.getProxy(UserPx.NAME) as UserPx;
			_charaPx = ProxyMgr.instance.getProxy(CharacterPx.NAME) as CharacterPx;
		}
		
		/**************************************************************************
		 * -- getMyName --
		 * @desc		get user's name
		 * @return		user's name
		 *************************************************************************/
		public function getMyName():String
		{
			return _userPx.getUserName();
		}
		
		/**************************************************************************
		 * -- getEnemyName --
		 * @desc		get enemy's name
		 * @return		enemy's name
		 *************************************************************************/
		public function getEnemyName():String
		{
			return "EnemyName";
		}
		
		/**************************************************************************
		 * -- getEvtCondition --
		 * @desc		get current event's condition
		 * @return		current event's condition
		 *************************************************************************/
		public function getEvtCondition():String
		{
			return "EvtCondition";
		}
		
		/**************************************************************************
		 * -- getCombinationName --
		 * @desc		get current combination skill's name
		 * @return		current combination skill's name
		 *************************************************************************/
		public function getCombinationName():String
		{
			return "CombinationName";
		}
		
		/**************************************************************************
		 * -- getEvent --
		 * @desc		get the event which will display on UI
		 * @param		(index) index of the event (from 0 to 4)
		 * @return		event
		 *************************************************************************/
		public function getEvent(index:int):String
		{
			return "Event";
		}
		
		
		public static const NAME:String = "BattlePx";
		private var _userPx		:UserPx;
		private var _charaPx	:CharacterPx;
	}
	
}